<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let data = [
            { '入职日期': 43678, '姓名': '高大山', '工号': 20089, '手机号': 13041131879, '转正日期': 43678 },
            { '入职日期': 43780, '姓名': '章三', '工号': 20090, '手机号': 13041131880, '转正日期': 43780 },
            { '入职日期': 43600, '姓名': '李四', '工号': 20091, '手机号': 13041131881, '转正日期': 43600 },
            { '入职日期': 43578, '姓名': '王武', '工号': 20092, '手机号': 13041131882, '转正日期': 43578 }
        ]

        function getDate(date) {
            let newData = []
            for (let i = 0; i < date.length; i++) {
                let obj={}
                obj.timeOfEntry = data[i]['入职日期']
                obj.username = data[i]['姓名']
                obj.workNumber = data[i]['工号']
                obj.mobile = data[i]['手机号']
                obj.correctionTime = data[i]['转正日期']
                newData.push(obj)
            }
            console.log(newData)
        }
       
         getDate(data);


    </script>
</body>

</html>